import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import home from '@/pages/home/home'
import copyRight from '@/pages/common/copyright'
import homeMenu from '@/pages/home/menu'
import search from '@/pages/search/search'
import ruleLaw from '@/pages/rule/rule'
import topBar from '@/pages/common/topBar'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    },
    {
      path: '/',
      name: 'copyRight',
      component: copyRight
    },
    {
      path: '/',
      name: 'homeMenu',
      component: homeMenu
    },
    {
      path: '/search',
      name: 'search',
      component: search
    },
    {
      path: '/ruleLaw',
      name: 'ruleLaw',
      component: ruleLaw
    },
    {
      path: '/topBar',
      name: 'topBar',
      component: topBar
    },
  ]
})
